package com.xy.biz.fd.domain.enums;

import com.xy.lang.enums.CodeEnum;
import com.xy.lang.enums.LongCodeEnum;

/**
 * @author Greekn Zhang
 * @date 2021/12/6 15:13
 * @description
 */
public enum RepositoryBelongToEnum implements LongCodeEnum {

    BELONG_TO_PRIVATE(0, "个人"),
    BELONG_TO_TEAM(1, "团队");

    private long code;
    private String desc;

    RepositoryBelongToEnum(long code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public long getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
